package com.hawk.eye.server.domain.po;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.JsonNode;
import com.hawk.eye.framework.core.domain.api.CommonEntity;
import com.hawk.eye.framework.utils.JsonNodeTypeHandler;
import com.hawk.eye.framework.utils.MapToJsonTypeHandler;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 【请填写功能名称】对象 hawk_eye_alarm_detail_log
 *
 * @author salad
 * @date 2023-10-23
 */
@Data
@Builder
@Accessors(chain = true)
@TableName("hawk_eye_alarm_detail_log")
public class AlarmDetailLog {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     */
    private Long chargeUserId;

    /**
     *
     */
    private Long baseAlarmId;

    /**
     */
    private String traceId;

    /**
     */
    private String serviceName;

    /**
     */
    private String requestUri;

    /**
     */
    private String requestParams;

    private String responseData;

    /**
     */
    private LocalDateTime alarmTime;

    /**
     */
    private String stackTrace;

    /**
     */
    private String errorMessage;

    /**
     */
    private String errorFileName;

    /**
     */
    private String stackHash;


    @TableField(typeHandler = MapToJsonTypeHandler.class)
    private Map<String, Object> logMessage;


}
